package com.yisu.auction.api.core.mapper;

import com.yisu.auction.ewf.entity.RechargeableCard;

import java.util.List;

public interface RechargeableCardMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RechargeableCard record);

    int insertSelective(RechargeableCard record);

    RechargeableCard selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RechargeableCard record);

    int updateByPrimaryKey(RechargeableCard record);

    /**
     * author: 赵杰
     * Business Description：通过prizeId获取充值卡列表
     * @param prizeId
     * @return
     */
    List<RechargeableCard> getRechargeableCardListByPrizeId(long prizeId);
}